import type { SogouElements } from '../../../../../../../../../types/constants/personalization/sogou'
import { ThemeVarService } from '../../../../../../../../../lib/abstract/style/theme_var/service'
import { PAGE_ELEMENTS, SUPPORTED_PLATFORMS } from '../../../../../../../../../types/constants'

// 测试关键词：
// 1）无搜索结果：
// 2）有搜索结果：
export class SogouChinesePage {
  elements: SogouElements = PAGE_ELEMENTS[SUPPORTED_PLATFORMS.SO_GOU]
  private static instance: SogouChinesePage
  protected readonly themeVarService: ThemeVarService = ThemeVarService.getInstance()

  /**
   * 获取单例实例
   */
  public static getInstance(): SogouChinesePage {
    if (!SogouChinesePage.instance) {
      SogouChinesePage.instance = new SogouChinesePage()
    }
    return SogouChinesePage.instance
  }

  init(): void {
  }

  /**
   * 无搜索结果样式
   */
  noSearchResult(): string {
    return ``
  }

  getMainStyles(): string {
    return ``
  }
}
